package com.sc.auction.order.feign;

import com.sc.auction.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(name = "auction-goods")
public interface GoodsFeignService {
    @GetMapping(value = "/auction/goods/selectGoodsById")
    public R selectGoodsById(@RequestParam("id") Integer id);
    @GetMapping(value = "/goods/images/getImage")
    public R getImageByGoodsCode1(@RequestParam("goodsCode") String goodsCode);
}
